#!/usr/bin/env python
###############################################################################
# Top contributors (to current version):
#   Makai Mann, Alex Ozdemir, Gereon Kremer
#
# This file is part of the cvc5 project.
#
# Copyright (c) 2009-2022 by the authors listed in the file AUTHORS
# in the top-level source directory and their institutional affiliations.
# All rights reserved.  See the file COPYING in the top-level source
# directory for licensing information.
# #############################################################################
#
# This script is automatically configured with cmake when cvc5
# is built with --python-bindings. It is called during make
# install to automatically install the python bindings using
# distutils.
# If it is called from a python virtualenv, the bindings are
# installed in the virtualenv, otherwise, it respects the
# configured install prefix using the setup.py --prefix option
##

from setuptools import setup

CVC5_VERSION='${CVC5_VERSION}'

setup(name='cvc5',
      version=CVC5_VERSION,
      long_description='Python bindings for cvc5 ' + CVC5_VERSION,
      url='https://github.com/cvc5/cvc5',
      zip_safe=False,
      packages=['cvc5'],
      package_dir={'':'${CMAKE_CURRENT_BINARY_DIR}'},
      package_data={'': ['cvc5_python_base*.so']},
      extras_require={'test': ['pytest']})
